package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 feedback
 *
 * @author ruoyi
 * @date 2025-08-04
 */
public class Feedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 接受id */
    @Excel(name = "接受id")
    private Integer toId;

    /** 发送id */
    @Excel(name = "发送id")
    private Integer fromId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String data;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setToId(Integer toId)
    {
        this.toId = toId;
    }

    public Integer getToId()
    {
        return toId;
    }

    public void setFromId(Integer fromId)
    {
        this.fromId = fromId;
    }

    public Integer getFromId()
    {
        return fromId;
    }

    public void setData(String data)
    {
        this.data = data;
    }

    public String getData()
    {
        return data;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("toId", getToId())
            .append("fromId", getFromId())
            .append("data", getData())
            .append("createTime", getCreateTime())
            .toString();
    }
}
